package com.can.entity;

import java.io.Serializable;

/**
 * @Desription 权限表，包含各种资源
 * @Author can
 * @Date 2018/9/10
 * @Version 1.0
 */
public class Authority implements Serializable {
    private Integer id;
    /** 父id **/
    private Integer fId;
    /** parent_ids表示所有祖先编号；如0/1/2/表示其祖先是2、1、0；其中根节点父编号为0。 **/
    private String fIds;
    /** 名称 **/
    private String name;
    /** 页面编码 **/
    private String code;
    /** 访问url **/
    private String url;
    /** 资源类型，如menu表示菜单，button代表按钮 **/
    private String type;
    /** 显示顺序 **/
    private String priority;
    /** 权限 **/
    private String permission;
    /** 是否可用 (1:可用，0:不可用) **/
    private Integer available;
    /** 所属单位 **/
    private String unitId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getfId() {
        return fId;
    }

    public void setfId(Integer fId) {
        this.fId = fId;
    }

    public String getfIds() {
        return fIds;
    }

    public void setfIds(String fIds) {
        this.fIds = fIds;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public Integer getAvailable() {
        return available;
    }

    public void setAvailable(Integer available) {
        this.available = available;
    }

    public String getUnitId() {
        return unitId;
    }

    public void setUnitId(String unitId) {
        this.unitId = unitId;
    }
}
